package io.renren.modules.lanling.dao;

import io.renren.common.utils.Query;
import io.renren.modules.lanling.entity.InvoiceEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 发票表
 * 
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-11-08 15:01:03
 */
public interface InvoiceDao extends BaseMapper<InvoiceEntity> {
    List<InvoiceEntity> queryList(Query query);

    Integer queryTotal(Query query);
    InvoiceEntity queryObject(@Param("id") Integer id);

    Boolean update(InvoiceEntity questionEntity);
}
